package com.lcf.system.entity;

import com.lcf.framework.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 角色与菜单(SysRoleMenu)表实体类
 *
 * @author lcf
 * @since 2025-02-25 12:28:49
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
public class SysRoleMenu extends BaseModel<SysRoleMenu> {
    //角色id
    private Long roleId;
    //菜单id
    private Long menuId;

    public SysRoleMenu(long roleId, long menuId) {
        this.roleId = roleId;
        this.menuId = menuId;
    }
}

